package cn.tedu.pojo;

import org.springframework.stereotype.Component;

@Component
public class Dept {
    public String name = "Java部门"; //必须设置成public ,不然不被外包的测试类访问

    //重写toString方法
    @Override
    public String toString() {
        return "Dept{" +
                "name='" + name + '\'' +
                '}';
    }
}
